package com.qf.dao;

import com.qf.pojo.entity.StoreInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * @InteerfaceName TakeOutStoreInfoMapper
 * @Description TODO
 * @Author 16222
 * @Date 2022/9/28 17:24
 * @Version 1.0
 **/
@Mapper
public interface TakeOutStoreInfoMapper {
    //通过二级找店铺
    List<StoreInfo> findAllByClassifyId(int id);
    //通过一级找全部店铺
    List<StoreInfo> findAllByListId(int id);
    //通过二级分类和活动标签（无门槛红包）找店铺
    List<StoreInfo> findAllStoreByClassifyAndStoreDiscount(@Param("id") int id,@Param("storeDiscount") String storeDiscount);
}
